return string;
}
-var Application = GObject.registerClass({
- GTypeName: 'ExtensionPrefs_Application'
-}, class Application extends Gtk.Application {
+var Application = GObject.registerClass(
+class Application extends Gtk.Application {
_init() {
GLib.set_prgname('gnome-shell-extension-prefs');
super._init({
const _MAX_BOTTOM_MENU_ITEMS = 5;
var UserListItem = GObject.registerClass({
- GTypeName: 'LoginDialog_UserListItem',
Signals: { 'activate': {} }
}, class UserListItem extends St.Button {
_init(user) {
});
var UserList = GObject.registerClass({
- GTypeName: 'LoginDialog_UserList',
Signals: {
'activate': { param_types: [UserListItem.$gtype] },
'item-added': { param_types: [UserListItem.$gtype] },
});
var SessionMenuButton = GObject.registerClass({
- GTypeName: 'LoginDialog_SessionMenuButton',
Signals: { 'session-activated': { param_types: [GObject.TYPE_STRING] } }
}, class SessionMenuButton extends St.Bin {
_init() {
}
});
-var AppIcon = GObject.registerClass({
- GTypeName: 'AltTab_AppIcon'
-}, class AppIcon extends St.BoxLayout {
+var AppIcon = GObject.registerClass(
+class AppIcon extends St.BoxLayout {
_init(app) {
super._init({ style_class: 'alt-tab-app',
vertical: true });
});
var FolderIcon = GObject.registerClass({
- GTypeName: 'AppDisplay_FolderIcon',
Signals: {
'apps-changed': {},
'name-changed': {},
Signals.addSignalMethods(RenameFolderMenu.prototype);
var AppFolderPopup = GObject.registerClass({
- GTypeName: 'AppDisplay_AppFolderPopup',
Signals: {
'open-state-changed': { param_types: [GObject.TYPE_BOOLEAN] },
}
});
var AppIcon = GObject.registerClass({
- GTypeName: 'AppDisplay_AppIcon',
Signals: {
'menu-state-changed': { param_types: [GObject.TYPE_BOOLEAN] },
'sync-tooltip': {},
}
});
-var Result = GObject.registerClass({
- GTypeName: 'LookingClass_Result'
-}, class Result extends St.BoxLayout {
+var Result = GObject.registerClass(
+class Result extends St.BoxLayout {
_init(lookingGlass, command, o, index) {
super._init({ vertical: true });
});
var WindowList = GObject.registerClass({
- GTypeName: 'LookingClass_WindowList'
}, class WindowList extends St.BoxLayout {
_init(lookingGlass) {
super._init({ name: 'Windows', vertical: true, style: 'spacing: 8px' });
});
var Extensions = GObject.registerClass({
- GTypeName: 'LookingClass_Extensions'
}, class Extensions extends St.BoxLayout {
_init(lookingGlass) {
super._init({ vertical: true, name: 'lookingGlassExtensions' });
var Message = GObject.registerClass({
- GTypeName: 'MessageList_Message',
Signals: {
'close': {},
'expanded': {},
//
// A notification without a policy object will inherit the default one.
var NotificationPolicy = GObject.registerClass({
- GTypeName: 'MessageTray_NotificationPolicy',
Properties: {
'enable': GObject.ParamSpec.boolean(
'enable', 'enable', 'enable',
});
var NotificationGenericPolicy = GObject.registerClass({
- GTypeName: 'MessageTray_NotificationGenericPolicy'
}, class NotificationGenericPolicy extends NotificationPolicy {
_init() {
super._init();
});
var NotificationApplicationPolicy = GObject.registerClass({
- GTypeName: 'MessageTray_NotificationApplicationPolicy'
}, class NotificationApplicationPolicy extends NotificationPolicy {
_init(id) {
super._init();
//
// [1] https://developer.gnome.org/notification-spec/#markup
var Notification = GObject.registerClass({
- GTypeName: 'MessageTray_Notification',
Properties: {
'acknowledged': GObject.ParamSpec.boolean(
'acknowledged', 'acknowledged', 'acknowledged',
});
var Source = GObject.registerClass({
- GTypeName: 'MessageTray_Source',
Properties: {
'count': GObject.ParamSpec.int(
'count', 'count', 'count',
});
var KeybindingEntry = GObject.registerClass({
- GTypeName: 'PadOsd_KeybindingEntry',
Signals: { 'keybinding-edited': {} }
}, class KeybindingEntry extends St.Entry {
_init() {
});
var ActionComboBox = GObject.registerClass({
- GTypeName: 'PadOsd_ActionComboBox',
Signals: { 'action-selected': { param_types: [GObject.TYPE_INT] } }
}, class ActionComboBox extends St.Button {
_init() {
});
var ActionEditor = GObject.registerClass({
- GTypeName: 'PadOsd_ActionEditor',
Signals: { 'done': {} }
}, class ActionEditor extends St.Widget {
_init() {
* of an icon and a menu section, which will be composed into the
* aggregate menu.
*/
-var SystemIndicator = GObject.registerClass({
- GTypeName: 'PanelMenu_SystemIndicator',
-}, class SystemIndicator extends St.BoxLayout {
+var SystemIndicator = GObject.registerClass(
+class SystemIndicator extends St.BoxLayout {
_init() {
super._init({
style_class: 'panel-status-indicators-box',
};
var SelectArea = GObject.registerClass({
- GTypeName: 'Screenshot_SelectArea',
Signals: { 'finished': { param_types: [Meta.Rectangle.$gtype] } }
}, class SelectArea extends St.Widget {
_init() {
});
var PickPixel = GObject.registerClass({
- GTypeName: 'Screenshot_PickPixel',
Signals: { 'finished': { param_types: [Graphene.Point.$gtype] } }
}, class PickPixel extends St.Widget {
_init() {
/* -------------------------------------------------------- */
var ListItem = GObject.registerClass({
- GTypeName: 'ShellMountOperation_ListItem',
Signals: { 'activate': {} }
}, class ListItem extends St.Button {
_init(app) {
const HAD_BLUETOOTH_DEVICES_SETUP = 'had-bluetooth-devices-setup';
-var Indicator = GObject.registerClass({
- GTypeName: 'Bluetooth_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
const BrightnessInterface = loadInterfaceXML('org.gnome.SettingsDaemon.Power.Screen');
const BrightnessProxy = Gio.DBusProxy.makeProxyWrapper(BrightnessInterface);
-var Indicator = GObject.registerClass({
- GTypeName: 'Brightness_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
this._proxy = new BrightnessProxy(Gio.DBus.session, BUS_NAME, OBJECT_PATH,
var AgentIface = loadInterfaceXML('org.freedesktop.GeoClue2.Agent');
-var Indicator = GObject.registerClass({
- GTypeName: 'Location_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
}
};
-var NMApplet = GObject.registerClass({
- GTypeName: 'Network_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var NMApplet = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
const ColorInterface = loadInterfaceXML('org.gnome.SettingsDaemon.Color');
const ColorProxy = Gio.DBusProxy.makeProxyWrapper(ColorInterface);
-var Indicator = GObject.registerClass({
- GTypeName: 'NightLight_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
const SHOW_BATTERY_PERCENTAGE = 'show-battery-percentage';
-var Indicator = GObject.registerClass({
- GTypeName: 'Power_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
const PanelMenu = imports.ui.panelMenu;
const PopupMenu = imports.ui.popupMenu;
-var RemoteAccessApplet = GObject.registerClass({
- GTypeName: 'RemoteAccess_Indicator'
-}, class RemoteAccessApplet extends PanelMenu.SystemIndicator {
+var RemoteAccessApplet = GObject.registerClass(
+class RemoteAccessApplet extends PanelMenu.SystemIndicator {
_init() {
super._init();
return _manager;
}
-var Indicator = GObject.registerClass({
- GTypeName: 'Rfkill_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
const Main = imports.ui.main;
const PanelMenu = imports.ui.panelMenu;
-var Indicator = GObject.registerClass({
- GTypeName: 'Screencast_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
}
});
-var Indicator = GObject.registerClass({
- GTypeName: 'System_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
/* eof client.js */
-var Indicator = GObject.registerClass({
- GTypeName: 'Thunderbolt_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
}
};
-var Indicator = GObject.registerClass({
- GTypeName: 'Volume_Indicator'
-}, class Indicator extends PanelMenu.SystemIndicator {
+var Indicator = GObject.registerClass(
+class Indicator extends PanelMenu.SystemIndicator {
_init() {
super._init();
// Copyright (C) 2004-2005 James M. Cape <jcape@ignore-your.tv>.
// Copyright (C) 2008,2009 Red Hat, Inc.
-var Avatar = GObject.registerClass({
- GTypeName: 'UserWidget_Avatar'
-}, class Avatar extends St.Bin {
+var Avatar = GObject.registerClass(
+class Avatar extends St.Bin {
_init(user, params) {
let themeContext = St.ThemeContext.get_for_stage(global.stage);
params = Params.parse(params, { reactive: false,
});
var WindowClone = GObject.registerClass({
- GTypeName: 'Workspace_WindowClone',
Signals: {
'drag-begin': {},
'drag-cancelled': {},
});
var WindowClone = GObject.registerClass({
- GTypeName: 'WorkspaceThumbnail_WindowClone',
Signals: {
'drag-begin': {},
'drag-cancelled': {},